Generally, when you get tired while working, you give your body some rest for a while. But you can't spare time to rest your mind.
Just as your body signals fatigue through pain, your brain also sends you signals that it needs relaxation. However, since we often can't understand these signals and tend to overlook them as ordinary sensations.